package net.lab1024.sa.admin.module.business.traffic.aibi.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import net.lab1024.sa.admin.module.business.traffic.aibi.domain.entity.AibiCarQueueEntity;
import net.lab1024.sa.admin.module.business.traffic.aibi.domain.form.AibiCarQueueQueryForm;
import net.lab1024.sa.admin.module.business.traffic.aibi.domain.vo.AibiCarQueueVO;

/**
 * Aibi 摄像机排队数据 DAO
 */
@Mapper
public interface AibiCarQueueDao extends BaseMapper<AibiCarQueueEntity> {

    /**
     * 分页查询
     */
    List<AibiCarQueueVO> queryPage(@Param("page") Page<?> page, @Param("query") AibiCarQueueQueryForm queryForm);

    /**
     * 批量插入或更新
     */
    void insertOrUpdateBatch(@Param("list") List<AibiCarQueueEntity> entityList);
}

